#输出0-100之间的奇数
def ji_100():
    for i in ranges(100):

        if i % 2 != 0:

            print(i,"是奇数")

#输出一百次我爱你
def print_content(want_content,for_count):

    for i in range(for_count):

        print(want_content);


#实现一个计算器
def num_jsq(num1,num2,ysf):

    if ysf == "+":

        return num1+num2

    elif ysf == "-":
        return num1 - num2
result = 0;
for i in range(5):
    shuzi1 = int(input("请输入第一个数字:"));
    shuzi2 = int(input("请输入第二个数字:"));
    fuhao  = input("请输入运算符:");
    jieguo = num_jsq(shuzi1,shuzi2,fuhao)
    result = result + jieguo

print("计算器运算结果为:",result);
